﻿using System.Collections.Generic;
using Domain.Entities;

namespace BusinessLogic.Interfaces
{
  public  interface IOrderDetailRepository
    {
      IEnumerable<OrderDetail> GetOrderDetails();
      OrderDetail GetOrderDetailById(int id);
      void DeleteOrderDetailById(int id);

      void CreateOrderDetail(OrderDetail orderDetail);
      void SaveOrderDetail(OrderDetail orderDetail);

    }
}
